-
Home
-
Table Rate Shipping Method for WooCommerce by Flexible Shipping
-
5.0.9 (latest)
-
Code
-
Classes
- CostsCalculator
Total Complexity |
18 |
Dependencies |
13 |
Dependents |
2 |
Total lines |
257 |
Lines of code |
97 |
Logical lines of code |
54 |
Comment lines |
100 |
Methods |
10 |
Properties |
13 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_cost() |
A |
45 |
7 |
42 |
prepare_rules() |
S |
60 |
2 |
15 |
sum_calculation() |
S |
71 |
2 |
6 |
__construct() |
S |
61 |
1 |
12 |
process_rules() |
S |
75 |
1 |
4 |
get_rules_settings() |
S |
73 |
1 |
5 |
calculate_weight_rounding_precision() |
S |
75 |
1 |
4 |
get_calculated_cost() |
S |
82 |
1 |
3 |
is_triggered() |
S |
82 |
1 |
3 |
is_cancel() |
S |
82 |
1 |
3 |